package com.superb.common.security.config;

import cn.dev33.satoken.stp.StpInterface;
import com.superb.common.security.utils.SuperbUtils;

import java.util.List;

/**
 * @Author: ajie
 * @CreateTime: 2024-06-19 09:13
 */
public class StpInterfaceImpl implements StpInterface {

    @Override
    public List<String> getPermissionList(Object loginId, String loginType) {
        return SuperbUtils.permissionList();
    }

    @Override
    public List<String> getRoleList(Object loginId, String loginType) {
        return SuperbUtils.roleList();
    }

}
